package com.leyuangame.core.websocket.handler;

import java.io.Serializable;

//服务端返回 信息实体类
public class ResServer implements Serializable{
    public int command;//命令
    public Object data;
    public String msg;
    public ResServer(){
        super();
    }
    public ResServer(int command,String msg){
        this.command=command;
        this.msg=msg;
    }
    public ResServer(int command,String msg,Object data){
        this.command=command;
        this.msg=msg;
        this.data=data;
    }
    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCommand() {
        return command;
    }

    public void setCommand(int command) {
        this.command = command;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
